package com.zy.experience_system.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class TestForm {
    private Integer id;
    @NotEmpty(message = "名称不能为空")
    private String name;
    @NotEmpty(message = "类型不能为空")
    private String type;
    @NotEmpty(message = "作者不能为空")
    private String author;
    @NotEmpty(message = "教师工号不能为空")
    private String teacher;
    private String fillAnswer;
    private String selectA;
    private String selectB;
    private String selectC;
    private String selectD;
    private String selectAnswer;
    private String mutiAnswer;
    private String judgeTrue;
    private String judgeFalse;
    private String judgeAnswer;
    @NotEmpty(message = "分数不能为空")
    private Integer totalScore;
}
